package wxk.interview.serializable;

/**
 * @author wangxuekai
 * @version 2.2
 * @Date 2017/3/9.
 * @since 2.2
 */
public enum Gender {
    MALE(1,"男"),FEMALE(2,"女"),UNKNOWN(0,"未知");

    private Integer type;
    private String name;

    Gender(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}
